package com.xhs.main.entity.yfb;

import java.util.ArrayList;
import java.util.List;

public class YfbResponsibilityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YfbResponsibilityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYfbRespIdIsNull() {
            addCriterion("yfb_resp_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdIsNotNull() {
            addCriterion("yfb_resp_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdEqualTo(Integer value) {
            addCriterion("yfb_resp_id =", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdNotEqualTo(Integer value) {
            addCriterion("yfb_resp_id <>", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdGreaterThan(Integer value) {
            addCriterion("yfb_resp_id >", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("yfb_resp_id >=", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdLessThan(Integer value) {
            addCriterion("yfb_resp_id <", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdLessThanOrEqualTo(Integer value) {
            addCriterion("yfb_resp_id <=", value, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdIn(List<Integer> values) {
            addCriterion("yfb_resp_id in", values, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdNotIn(List<Integer> values) {
            addCriterion("yfb_resp_id not in", values, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdBetween(Integer value1, Integer value2) {
            addCriterion("yfb_resp_id between", value1, value2, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespIdNotBetween(Integer value1, Integer value2) {
            addCriterion("yfb_resp_id not between", value1, value2, "yfbRespId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdIsNull() {
            addCriterion("yfb_resp_item_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdIsNotNull() {
            addCriterion("yfb_resp_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdEqualTo(String value) {
            addCriterion("yfb_resp_item_id =", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdNotEqualTo(String value) {
            addCriterion("yfb_resp_item_id <>", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdGreaterThan(String value) {
            addCriterion("yfb_resp_item_id >", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_item_id >=", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdLessThan(String value) {
            addCriterion("yfb_resp_item_id <", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_item_id <=", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdLike(String value) {
            addCriterion("yfb_resp_item_id like", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdNotLike(String value) {
            addCriterion("yfb_resp_item_id not like", value, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdIn(List<String> values) {
            addCriterion("yfb_resp_item_id in", values, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdNotIn(List<String> values) {
            addCriterion("yfb_resp_item_id not in", values, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdBetween(String value1, String value2) {
            addCriterion("yfb_resp_item_id between", value1, value2, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespItemIdNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_item_id not between", value1, value2, "yfbRespItemId");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameIsNull() {
            addCriterion("yfb_resp_classname is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameIsNotNull() {
            addCriterion("yfb_resp_classname is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameEqualTo(String value) {
            addCriterion("yfb_resp_classname =", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameNotEqualTo(String value) {
            addCriterion("yfb_resp_classname <>", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameGreaterThan(String value) {
            addCriterion("yfb_resp_classname >", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_classname >=", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameLessThan(String value) {
            addCriterion("yfb_resp_classname <", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_classname <=", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameLike(String value) {
            addCriterion("yfb_resp_classname like", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameNotLike(String value) {
            addCriterion("yfb_resp_classname not like", value, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameIn(List<String> values) {
            addCriterion("yfb_resp_classname in", values, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameNotIn(List<String> values) {
            addCriterion("yfb_resp_classname not in", values, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameBetween(String value1, String value2) {
            addCriterion("yfb_resp_classname between", value1, value2, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassnameNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_classname not between", value1, value2, "yfbRespClassname");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassIsNull() {
            addCriterion("yfb_resp_class is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassIsNotNull() {
            addCriterion("yfb_resp_class is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassEqualTo(String value) {
            addCriterion("yfb_resp_class =", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassNotEqualTo(String value) {
            addCriterion("yfb_resp_class <>", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassGreaterThan(String value) {
            addCriterion("yfb_resp_class >", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_class >=", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassLessThan(String value) {
            addCriterion("yfb_resp_class <", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_class <=", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassLike(String value) {
            addCriterion("yfb_resp_class like", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassNotLike(String value) {
            addCriterion("yfb_resp_class not like", value, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassIn(List<String> values) {
            addCriterion("yfb_resp_class in", values, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassNotIn(List<String> values) {
            addCriterion("yfb_resp_class not in", values, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassBetween(String value1, String value2) {
            addCriterion("yfb_resp_class between", value1, value2, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespClassNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_class not between", value1, value2, "yfbRespClass");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameIsNull() {
            addCriterion("yfb_resp_peoplename is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameIsNotNull() {
            addCriterion("yfb_resp_peoplename is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameEqualTo(String value) {
            addCriterion("yfb_resp_peoplename =", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameNotEqualTo(String value) {
            addCriterion("yfb_resp_peoplename <>", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameGreaterThan(String value) {
            addCriterion("yfb_resp_peoplename >", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_peoplename >=", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameLessThan(String value) {
            addCriterion("yfb_resp_peoplename <", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_peoplename <=", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameLike(String value) {
            addCriterion("yfb_resp_peoplename like", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameNotLike(String value) {
            addCriterion("yfb_resp_peoplename not like", value, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameIn(List<String> values) {
            addCriterion("yfb_resp_peoplename in", values, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameNotIn(List<String> values) {
            addCriterion("yfb_resp_peoplename not in", values, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameBetween(String value1, String value2) {
            addCriterion("yfb_resp_peoplename between", value1, value2, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPeoplenameNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_peoplename not between", value1, value2, "yfbRespPeoplename");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionIsNull() {
            addCriterion("yfb_resp_position is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionIsNotNull() {
            addCriterion("yfb_resp_position is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionEqualTo(String value) {
            addCriterion("yfb_resp_position =", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionNotEqualTo(String value) {
            addCriterion("yfb_resp_position <>", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionGreaterThan(String value) {
            addCriterion("yfb_resp_position >", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_position >=", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionLessThan(String value) {
            addCriterion("yfb_resp_position <", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_position <=", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionLike(String value) {
            addCriterion("yfb_resp_position like", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionNotLike(String value) {
            addCriterion("yfb_resp_position not like", value, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionIn(List<String> values) {
            addCriterion("yfb_resp_position in", values, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionNotIn(List<String> values) {
            addCriterion("yfb_resp_position not in", values, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionBetween(String value1, String value2) {
            addCriterion("yfb_resp_position between", value1, value2, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespPositionNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_position not between", value1, value2, "yfbRespPosition");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberIsNull() {
            addCriterion("yfb_resp_usernumber is null");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberIsNotNull() {
            addCriterion("yfb_resp_usernumber is not null");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberEqualTo(String value) {
            addCriterion("yfb_resp_usernumber =", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberNotEqualTo(String value) {
            addCriterion("yfb_resp_usernumber <>", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberGreaterThan(String value) {
            addCriterion("yfb_resp_usernumber >", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_resp_usernumber >=", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberLessThan(String value) {
            addCriterion("yfb_resp_usernumber <", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberLessThanOrEqualTo(String value) {
            addCriterion("yfb_resp_usernumber <=", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberLike(String value) {
            addCriterion("yfb_resp_usernumber like", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberNotLike(String value) {
            addCriterion("yfb_resp_usernumber not like", value, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberIn(List<String> values) {
            addCriterion("yfb_resp_usernumber in", values, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberNotIn(List<String> values) {
            addCriterion("yfb_resp_usernumber not in", values, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberBetween(String value1, String value2) {
            addCriterion("yfb_resp_usernumber between", value1, value2, "yfbRespUsernumber");
            return (Criteria) this;
        }

        public Criteria andYfbRespUsernumberNotBetween(String value1, String value2) {
            addCriterion("yfb_resp_usernumber not between", value1, value2, "yfbRespUsernumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}